﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerService.aspx.cs" Inherits="EWDTAssignment.CustomerService" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body background="images/chatBg.jpg" style="background-attachment:fixed" >
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td>
                        <asp:ListBox ID="CustomerNameList" runat="server" Height="285px" style="position:fixed; top:20%; left:70%"
                            onselectedindexchanged="CustomerNameList_SelectedIndexChanged" 
                            Width="190px" ontextchanged="CustomerNameList_TextChanged">
                        </asp:ListBox>
                    </td>
                <td>
                <div>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            
                                <asp:ScriptManager ID="ScriptManager2" runat="server">
                                </asp:ScriptManager>
                                <asp:Timer ID="Timer1" runat="server" Interval="1000">
                                </asp:Timer>
                                <asp:GridView ID="GridView1" runat="server" BorderStyle="Dotted" 
                                    >
                                </asp:GridView>
                           
                            <br />
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    </div>
                </td>
            </tr>
        </table>
    
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    </asp:UpdatePanel>
    <table style="width:100%;">
        <tr>
            <td rowspan="2">
                <asp:TextBox ID="CustomerServiceChatTbx" runat="server" Height="60px" 
                    style="position:fixed; top:88%; left:0px" TextMode="MultiLine" 
                    Width="903px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Send" Width="84px" style="position:fixed; top:95%; left:940px" 
                    onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
